Fix build error with -Wstrict-prototype.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 14 Mar 2006 14:36:40 +0000 (15:36 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 14 Mar 2006 14:36:40 +0000 (15:36 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/misc/cpuperf/cpuperf_xeno.h

index 8663a2cc4cc611ff4d94f9d14e95ff56a93877df..5cbdb10bbdad67d10a0c7ac33594f05569f97740 100644 (file)
@@ -13,7 +13,7 @@
 
 static int xc_handle;
 
-void xen_init()
+void xen_init(void)
 {
     if ( (xc_handle = xc_interface_open()) == -1 )
     {
@@ -24,12 +24,12 @@ void xen_init()
 
 }
 
-void dom0_wrmsr( int cpu_mask, int msr, unsigned int low, unsigned int high )
+void dom0_wrmsr(int cpu_mask, int msr, unsigned int low, unsigned int high)
 {
     xc_msr_write (xc_handle, cpu_mask, msr, low, high);
 }
 
-unsigned long long dom0_rdmsr( int cpu_mask, int msr )
+unsigned long long dom0_rdmsr(int cpu_mask, int msr)
 {
     return xc_msr_read(xc_handle, cpu_mask, msr);
 }